function appendingItem(data) {
    console.log(data);
    $(".hostelName").text(data.hostelName);
    $(".location").text(data.location);
    $(".introduction").text(data.introduction);
    $(".startTime").text(data.startTime);
    $(".endTime").text(data.endTime);
    $(".requirement").text(data.requirement);
    $(".workContent").text(data.workContent);
    $(".additionalInfo").text(data.additionalInfo);
    $(".imgUrl").attr("src",data.imgUrl);
    $(".numberOfPeople").text(data.numberOfPeople);
    $(".readCount").text(data.readCount);
    $(".hostelId").attr("value",data.user.id);
}
